package com.service.gmall.esk.service;

import com.service.gmall.model.list.Goods;
import com.service.gmall.model.vo.search.SearchParamVo;
import com.service.gmall.model.vo.search.SearchResponseVo;

/**
 * @author alpha
 * @className: GoodsService
 * @Description
 */
public interface GoodsService {
    /**
     * 保存商品
     * @param goods
     */
    void saveGoods(Goods goods);

    /**
     * 根据skuId删除商品
     */
    void deleteGoods(Long skuId);

    /**
     * 商品检索
     * @param paramVo
     * @return
     */
    SearchResponseVo search(SearchParamVo paramVo);

    /**
     * 更新hotScore
     * @param skuId
     * @param score
     */
    void updateHotScore(Long skuId, Long score);
}
